<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Less 的使用方式</title>
  <!-- 2. 使用 link 标签引入 less 文件 -->
  <link rel="stylesheet" type="text/less" href="./index.less">
</head>
<body>
  <div class="box"></div>
  <!-- 1. 引入 less.js 文件 -->
  <script src="https://cdn.bootcdn.net/ajax/libs/less.js/4.1.3/less.min.js"></script>
</body>
</html>